package cn.tedu._05mvcboot02.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    POERATION_SUCCESS(5000,"操作成功"),
    POERATION_FAILED(6000,"操作成功"),
    PASSWORD_ERROR(8000,"密码错误"),
    USERNAME_ERROR(7000,"用户名错误"),
    USERNAME_EXITS(9000,"用户名已存在");

    private Integer statusCode;
    private String message;
}
